<?php
$category	= LoadCategoryById($idP);
$filterchild= array();

if($act=='editfilter')
{    
    $filter     = LoadFilter($id);
    $filterchild= ListChildFilter($id);
}else
{
    $filter['iCategoryId']    = $idP;
}

?>
